import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '../components/HelloWorld'
import Ok from '../components/Ok'
import CanvasEditor from '../components/CanvasEditor'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/hello',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/ok',
      name: 'Ok',
      component: Ok
    },
    {
      path: '/canvasEditor',
      name: 'canvasEditor',
      component: CanvasEditor
    }
  ]
})
